<?php


class GoodsCommonModel extends BaseModel
{
    protected $table = 'yf_goods_common';

    protected $principal = 'common_id';

    public function getgoods(){
       var_dump($this->find(15450, ['common_id', 'common_name']));
    }
}